import request from '@/utils/request'
// 消费的额度设置
export function userqutasttingSelectUserQuotaSettingList(data) {
  return request({
    url: '/userqutastting/selectUserQuotaSettingList ',
    method: 'post',
    data
  })
}
// 消费的额度设置 新增
export function userqutasttingInsertUserQuotaSetting(data) {
  return request({
    url: '/userqutastting/insertUserQuotaSetting',
    method: 'post',
    data
  })
}
// 消费的额度设置 修改
export function userqutasttingUpdateUserQuotaSetting(data) {
  return request({
    url: '/userqutastting/updateUserQuotaSetting',
    method: 'post',
    data
  })
}
// 消费的额度设置 删除
export function userqutasttingDeleteUserQuotaSettingById(data) {
  return request({
    url: '/userqutastting/deleteUserQuotaSettingById',
    method: 'post',
    data
  })
}

// ----------------------- 档位设置

// 档位设置设置 列表
export function userOffplaceSelectUserOffplaceList(data) {
  return request({
    url: '/userOffplace/selectUserOffplaceList',
    method: 'post',
    data
  })
}
// 档位设置设置 新增
export function userOffplaceInsertUserOffplace(data) {
  return request({
    url: '/userOffplace/insertUserOffplace',
    method: 'post',
    data
  })
}
// 档位设置设置 修改
export function updateUserOffplace(data) {
  return request({
    url: '/userOffplace/updateUserOffplace',
    method: 'post',
    data
  })
}
// 档位设置设置 删除
export function deleteUserOffplaceById(data) {
  return request({
    url: '/userOffplace/deleteUserOffplaceById',
    method: 'post',
    data
  })
}
// 获取消费档位
export function selectOffplaceDetail() {
  return request({
    url: '/userOffplace/selectOffplaceDetail',
    method: 'post'
  })
}
// 获取活动时间
export function activityGetActivityTime() {
  return request({
    url: '/activity/getActivityTime',
    method: 'post'
  })
}
// 设置活动时间
export function activitySetActivityTime(data) {
  return request({
    url: '/activity/setActivityTime',
    method: 'post',
    data
  })
}
